package com.yunjie.model.tree;

import java.util.Set;

public class NodeModel {
	private java.io.Serializable id;
	private String text;
	private boolean leaf;
	private Set<NodeModel> children;
	
	public java.io.Serializable getId() {
		return id;
	}
	public void setId(java.io.Serializable id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public Set<NodeModel> getChildren() {
		return children;
	}
	public void setChildren(Set<NodeModel> children) {
		this.children = children;
	}
}
